<template>
  <div>
     <GLForm>
        <GLFormItem label="用户名:">
           <GLInput v-model="username" placeHolder="用户名"></GLInput>
        </GLFormItem>
        <GLFormItem label="密码:">
           <GLInput showPassword v-model="password"></GLInput>
        </GLFormItem>
         <GLFormItem>
           <GLButton type="primary" round @click="login">登录</GLButton>
        </GLFormItem>
     </GLForm>
  </div>
</template>

<script>
export default {
   data(){
      return{
         username:'',
         password:''
      }
   },
   methods:{
      login(){
         console.log('username',this.username);
         console.log('password',this.password);
      }
   }
}
</script>

<style>  

</style>